package com.bac.javabeans;

import java.io.Serializable;


public class Location implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 87788801867692955L;
	
	
	private String address;
	private String city;
	private String name;
	private double latitude;
	private double longitude;
	private Long id;
	private Double rating;
	private GasStationDetail detail;
	
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public double getLatitude() {
		return latitude;
	}
	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}
	public double getLongitude() {
		return longitude;
	}
	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Double getRating() {
		return rating;
	}
	public void setRating(Double rating) {
		this.rating = rating;
	}
	public GasStationDetail getDetail() {
		return detail;
	}
	public void setDetail(GasStationDetail detail) {
		this.detail = detail;
	}
	public Location(String address, String city, String name, double latitude,
			double longitude, Long id, Double rating, GasStationDetail detail) {
		super();
		this.address = address;
		this.city = city;
		this.name = name;
		this.latitude = latitude;
		this.longitude = longitude;
		this.id = id;
		this.rating = rating;
		this.detail = detail;
	}
	public Location() {
		super();
	}
	
}
